#ifndef _SEPRATESKIN_H
#define _SEPRATASKIN_H

#include <cv.h>
#include <highgui.h>

void WINAPI FindSkinArea(IplImage *pSrcImg, IplImage *pGrayImg);
void WINAPI MidFilter(IplImage *pGrayImg);
void WINAPI RemoveNoSkin(IplImage *pGrayImg);
void WINAPI GrowArea(IplImage *pImg, int xPoint, int yPoint, int nArea);


int skinDetect(IplImage *src,IplImage *skinImg, IplImage *skinMask);
void BrightnessThreshold(IplImage *img,IplImage *imgThresholdMask);
void RedThreshold(IplImage *img,IplImage *redThresholdMask);
void myDeleteSmallArea(IplImage *img);
int SkinCalculate(IplImage *img); 
int BlackCalculate(IplImage *img); 

#endif